package com.cf.domain.pojo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class PageQuery {

    //页码
    private Integer pageNo;

    //每页数据数量
    private Integer pageSize;

    private Map<String, Object> queryMap;

    public PageQuery(){}

    public PageQuery(Integer pageNo, Integer pageSize){
        this.pageNo = pageNo;
        this.pageSize = pageSize;
        this.queryMap = new HashMap<>();
    }
}
